﻿using Dapper;

using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Finance.Infrastructure
{
    public interface IDapperDb
    {
        // 单实体查询
        Task<IEnumerable<T>> Query<T>(string sql, object parameters = null);

        // 集合查询
        Task<T> QueryFirst<T>(string sql, object parameters = null);






    }
}
